import http from '../../utils/httpRequest'

export default {
  getListBySecKillSessionId(currentPage,size,secKillSessionId){
    return http({
      url:`/sms/seckillpromotion/getListBySecKillSessionId/${currentPage}/${size}`,
      method:"get",
      params:{
        secKillSessionId
      }
    });
  },

  getPromotionList(currentPage,size,promotionId){
    return http({
      url:`/sms/seckillpromotion/list/${currentPage}/${size}`,
      method:"get",
      params:{
        promotionId:promotionId
      }
    });
  }
}
